const baseUrl = 'http://127.0.0.1:8080/wechart/'

const urls = {
    //小程序登录，获取openid
    login: baseUrl + 'login/wxLogin',
    //小程序添加用户，并获取用户信息
    addUser: baseUrl + 'user/checkUser',
    //新增收货地址
    addAddress: baseUrl + 'address/addAddress',
    //修改收货地址
    editAddress: baseUrl + 'address/editAddress',
    //获取收货地址列表
    getAddressList: baseUrl + 'address/getAddressList',
    //设为默认收货地址
    setDefaultAddress: baseUrl + 'address/setDefaultAddress',
    //删除收货地址
    deleteAddress: baseUrl + 'address/deleteAddress'
}

module.exports = {
    urls: urls
}